package com.csi.bumblebee.mapper;

import com.csi.bumblebee.domain.dictionary.SchoolLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author yeebs
 */
@Mapper
public interface SchoolLevelMapper {
    /**
     * 根据id查询学校等级
     * @param id schoolLevel中的主键id
     * @return schoolLevel对象
     */
    SchoolLevel findSeLevel(String id);

    /**
     * 显示所有的学校等级
     * @return List<SchoolLevel>
     */
    List<SchoolLevel> list();
}
